package com.project.dao;

import com.project.entity.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseMapper {

    int insert(Course course);

    int insertSelective(Course course);

    Course selectByPrimaryKey(Integer id);

    List<Course> selectBatchByCondition(Course course);

    List<Course> selectBykeyword(@Param("keyword") String keyword);

    List<Course> selectByCreatorId(Integer creatorid);
}
